<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>项目：文件上传</title>
</head>

<body>
<form action="/upload" method="post" enctype="multipart/form-data">
    <label>上传人:<input type="text" name="user"></label><br>
    <label>文件:<input type="file" name="file"></label><br>
    <label><input type="submit" value="上传单文件"></label><br>
</form>

<hr>

<form action="/uploads" method="post" enctype="multipart/form-data">
    <label>上传人:<input type="text" name="user"></label><br>
    <label>文件:<input type="file" name="file"></label><br>
    <label><input type="submit" value="上传单文件"></label><br>
</form>

<hr>
<form action="/uploads" method="post" enctype="multipart/form-data">
    <label>上传人:<input type="text" name="user"></label><br>
    <label>文件:<input type="file" name="file" accept="image/png,image/gif,image/jpeg" multiple></label><br>
    <label><input type="submit" value="上传多张图片文件"></label><br>
</form>
<hr>
<form action="/uploadfiles" method="post" enctype="multipart/form-data">
    <label>上传人:<input type="text" name="user"></label><br>
    <label>文件:<input type="file" name="file1" accept="image/png,image/gif,image/jpeg" multiple></label><br>
    <label>文件:<input type="file" name="file2" accept="image/png,image/gif,image/jpeg" multiple></label><br>
    <label><input type="submit" value="上传多张图片文件-完美"></label><br>
</form>


uploadfiles
</body>
</html>
